<?php
return CMap::mergeArray(
    require(dirname(__FILE__).'/main.php'),
    array(
    	// Put front-end settings there
    	// page controller as default controller
    	'defaultController'=>'page',
		// uncomment the following to enable URLs in path-format
		'components'=>array(
			'urlManager'=>array(
				'urlFormat'=>'path',
			    'showScriptName'=>false,
				'rules'=>array(
    				'<page:\w+>'=>'page/index',
					'<controller:\w+>'=>'<controller>',
					'<controller:\w+>/<action:\w+>'=>'<controller>/<action>',
				),
			),
		),
    )
);